﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GSMClasses
{
    public class Call
    {
        //fields
        private DateTime dateAndTime;
        private int diledNumber;
        private float duration;

        //constructors
        public Call(DateTime date, int dialedNum, float duration)
        {
            this.dateAndTime = date;
            this.diledNumber = dialedNum;
            this.duration = duration;
        }

        //properties
        public DateTime DateAndTime
        {
            get { return this.dateAndTime; }
            set { this.dateAndTime = value; }
        }
        public int DiledNumber
        {
            get { return this.diledNumber; }
            set { this.diledNumber = value; }
        }
        public float Duration
        {
            get { return this.duration; }
            set { this.duration = value; }
        }

    }
}
